#include "Move.h"

using namespace Rorn::Chess::TheCorruptRook;

Move::Move(const Position& startPosition, Player::Type player, const Square& startSquare, const Square& endSquare)
	: startSquare_(startSquare), endSquare_(endSquare), endPosition_(startPosition)
{
	endPosition_.MovePiece(player, startSquare, endSquare);
	endPositionScore_ = endPosition_.CalculateScore(player);
}
